<?php /* Smarty version 2.6.26, created on 2010-04-23 20:38:58
         compiled from qa.tpl */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'header.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>      

  <div class="center-column">      
    <div id="primary-full">
      <form action="qa-search.php" id="search-form" method="POST">
        <fieldset>
          <input type="text" class="default-text-input mid-text-input" name="q" id="q" value="Question and Answer Search" autocomplete="off" />
          <input type="submit" class="default-button" id="search-button" value="Search" />
        </fieldset>
      </form>
      
      <form action="qa-repository.php" id="add-qa-prompt" method="POST">
        <input type="submit" class="default-button" id="add-qa-prompt-button" value="Add a QA" /> 
      </form>
      
      <form action="add-question.php" id="add-question" class="hidden" method="POST">
        <h2>Add a New Question</h2>
        <fieldset class="stacked-fields">
          <input type="text" class="default-text-input" name="question" id="question" value="Question" autocomplete="off" />
          <input type="text" class="default-text-input" name="answer" id="answer" value="Answer" autocomplete="off" />
          <input type="text" class="default-text-input" name="qa-source" id="qa-source" value="Source" />
          <input type="hidden" id="newest_qa_id" value="<?php echo $this->_tpl_vars['newest_qa_id']; ?>
" />
          <input type="submit" class="default-button" id="add-qa-button" value="Add" />         
        </fieldset>
      </form>
      
      <ul id="qa-browse">
        <h2>Questions &amp; Answers</h2>
        <?php echo $this->_tpl_vars['qas']; ?>

      </ul>
      
      <form action="qa-repository.php" id="show-more-qas" method="POST">
        <input type="submit" class="default-button" id="show-more-qas-button" value="See More Questions" /> 
      </form>
    </div>
  </div>
    
 
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'footer.tpl', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>